﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelectMaterialList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Weixin.SelectMaterialList" %>

<%@ Import Namespace ="ZLCMS.Business.Util" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>

<form id="pageForm" method="post" runat="Server" class="pageForm" 
    onsubmit="return dwzSearch(this, 'dialog');" action="/SystemManage/Weixin/Material/SelectMaterialList.aspx">
<div class="pageHeader">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
			    <span>标题&nbsp;</span>
				<asp:TextBox ID="tb_search_title" runat="server" cond="s_title" ctltype="textbox"></asp:TextBox>&nbsp;&nbsp;
			</li>
			<li>
			    <span>类型&nbsp;</span>
				<asp:dropdownlist runat="server" ID="ddl_type" cond="s_ddltype" ctltype="dropdownlist" width="150px">
                </asp:dropdownlist>
			</li>
		</ul>
	    <div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">&nbsp;查&nbsp;询&nbsp;</button></div></div></li>
			</ul>
	    </div>
	</div>
</div>

<div class="pageContent">
   	<div class="panelBar">
		<ul class="toolBar">
		</ul>
	</div>
	<div class="tableList" layoutH="116">
	<table class="list" width="100%" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
				<th width="5%" style="display: none">编号</th>
				<th width="35%">标题</th>
				<th width="15%">素材分类</th>
				<th width="20%">创建时间</th>
				<th width="20%">修改时间</th>
				<th width="10%">操作</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="grid">
                <ItemTemplate>
			    <tr target="uid" rel=<%# Eval("Id")%>>
				    <td style="display: none"><%# Eval("Id")%></td>
                    <td><%# Eval("Title")%></td>
                    <td><%# ParamKit.GetValue("WXMaterialTypeFull", Eval("MsgType"), "&nbsp;")%></td>
				    <td><%# Eval("CreateDate") %></td>
				    <td><%# Eval("UpdateDate")%></td>
				    <td> 
                    <a class="btnSelect" href="javascript:$.bringBack({id:'<%# Eval("Id") %>', orgName:'<%# Server.HtmlEncode(Eval("Title") as string)%>'})" title="选择">选择</a>
				     </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>
	</div>
	
     <%= _framePage.GetPagerContentHtml("dialog")%>
</div>
</form>